package com.mark.article.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description :  java类作用描述
 * @Author :  Markburt
 * @CreateDate :  2020/2/24$ 下午 11:29$
 * @UpdateUser :  Markburt
 * @UpdateDate :  2020/2/24$ 下午 11:29$
 * @UpdateRemark :  Project Build
 * @Version :  1.0
 */
public class TrieNode {


    public char var;

    public boolean isWord;

    public Map<Character,TrieNode> children = new HashMap<>();

    public boolean containLongTail = false;

    public TrieNode(){}

    public TrieNode(char c){
        TrieNode node = new TrieNode();
        node.var = c;
    }
}
